{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ocean Drugs</title>

    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap" rel="stylesheet">

    <style>
        /* General Styles */
        body {
            font-family: 'Open Sans', sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #00c6ff, #0072ff); /* Gradient background */
            color: #fff;
            overflow-x: hidden;
        }

        /* Navbar Styles */
        .navbar {
            background-color: rgba(0, 0, 0, 0.8);
            padding: 15px 0;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar a {
            color: #fff;
            margin: 0 20px;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            transition: color 0.3s;
        }

        .navbar a:hover {
            color: #ff5c8d; /* Hover effect */
        }

        /* Search Box Styles */
        .search-box {
            max-width: 600px;
            margin: 100px auto;
            background: rgba(255, 255, 255, 0.2); /* Transparent white background */
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .search-box input {
            padding: 15px;
            font-size: 18px;
            width: 100%;
            border-radius: 25px;
            border: none;
            margin-bottom: 20px;
            outline: none;
            color: #333;
        }

        .search-box input:focus {
            border: 2px solid #ff5c8d; /* Focus border color */
        }

        .search-box button {
            background-color: #ff5c8d;
            color: #fff;
            font-size: 16px;
            padding: 12px 25px;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .search-box button:hover {
            background-color: #ff3366; /* Hover button effect */
        }

        /* Footer */
        footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #333;
            color: white;
            padding: 10px;
            text-align: center;
        }

    </style>
</head>
<body>

    <!-- Navbar -->
    <div class="navbar">
        <a href="/">Home</a>
        <a href="/about">About</a>
        <a href="/docs">Docs</a>
        <a href="/submit">Submit</a>
        <a href="/contact">Contact</a>
    </div>

    <!-- Search Box -->
    <div class="search-box">
        <h1>Welcome to Ocean Drugs{{ book }} </h1>
        <p>Search for the best ocean-based medicinal drugs.</p>
        <form method="get" action="/search/">
            <input type="text" name="query" placeholder="Search for Ocean Drugs..." value="{{ request.GET.query }}">
            <button type="submit">Search</button>
        </form>
    </div>

    <!-- Footer -->
    <footer>
        <p>&copy; 2024 Ocean Drugs | All Rights Reserved</p>
    </footer>

</body>
</html>
